package top.purity.server.user.domain.repository;

import top.purity.server.user.domain.RoleMenu;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Collection;

/**
 * @Author lmh
 * @Description
 * @CreateTime 2023-09-25 15:27
 */

public interface RoleMenuRepository extends JpaRepository<RoleMenu, Long> {

    Collection<RoleMenu> getRoleMenusByRoleIdInAndTenantId(Collection<Long> roleIds, String tenantId);

}
